FROM node:21.4-alpine3.17
COPY package.json .
RUN npm config set registry https://registry.npm.taobao.org
RUN npm install
COPY . .
EXPOSE 3309
CMD [ "npm", "run", "dev" ]